home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************/
- /* BWCHECK.RC defines a simple Borland Windows Custom Control */
- /* Dialog Box that can be used as the main window. */
- /* Notice the CLASS "BORDLG" to activate the metalic background */
- /* Also notice the special "Borshade" Control and BorCheck controls */
- /* Notice the order of the controls Borshade then two BorCheck then */
- /* Borshade and two BorCheck. The order is important to make the */
- /* Tab and the arrow keys function correctly. */
- /********************************************************************/
-
- #include "windows.h"
- #include "bwcc.h"
-
- MAINWINDOWDIALOG DIALOG -24, -43, 114, 143
- CAPTION "Borland Check Boxes"
- CLASS "BORDLG"
- STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
- BEGIN
- CONTROL " Unit #12", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 60, 102, 36
- CONTROL "Radar Unit 12", 110, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 72, 90, 10
- CONTROL "Confabulator 12", 120, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 84, 90, 10
- CONTROL " Unit #13", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 102, 102, 36
- CONTROL "Radar Unit 13", 140, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 114, 90, 10
- CONTROL "Confabulator 13", 150, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 126, 90, 10
- CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 54, 114, 1
- CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 102, 42
- CTEXT "Check Boxes Display", -1, 12, 12, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "The On or Off state ", -1, 12, 24, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "Of a Toggle button", -1, 12, 36, 90, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- END
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-